.class Lcom/estrongs/android/taskmanager/ed;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/estrongs/android/taskmanager/dp;


# direct methods
.method constructor <init>(Lcom/estrongs/android/taskmanager/dp;)V
    .locals 0

    iput-object p1, p0, Lcom/estrongs/android/taskmanager/ed;->a:Lcom/estrongs/android/taskmanager/dp;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/ed;->a:Lcom/estrongs/android/taskmanager/dp;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/dp;->g(Lcom/estrongs/android/taskmanager/dp;)Lcom/estrongs/android/taskmanager/fh;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/taskmanager/fh;->getCount()I

    move-result v0

    const/16 v1, 0xa

    if-lt v0, v1, :cond_0

    new-instance v0, Landroid/app/AlertDialog$Builder;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/ed;->a:Lcom/estrongs/android/taskmanager/dp;

    iget-object v1, v1, Lcom/estrongs/android/taskmanager/dp;->mActivity:Landroid/app/Activity;

    invoke-direct {v0, v1}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    const v1, 0x108009b

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setIcon(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/ed;->a:Lcom/estrongs/android/taskmanager/dp;

    const v2, 0x7f0700cb

    invoke-virtual {v1, v2}, Lcom/estrongs/android/taskmanager/dp;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/ed;->a:Lcom/estrongs/android/taskmanager/dp;

    const v2, 0x7f0700cc

    invoke-virtual {v1, v2}, Lcom/estrongs/android/taskmanager/dp;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const v1, 0x7f0700f6

    invoke-virtual {v0, v1, v3}, Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/ed;->a:Lcom/estrongs/android/taskmanager/dp;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/dp;->d(Lcom/estrongs/android/taskmanager/dp;)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/ed;->a:Lcom/estrongs/android/taskmanager/dp;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/dp;->e(Lcom/estrongs/android/taskmanager/dp;)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/ed;->a:Lcom/estrongs/android/taskmanager/dp;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/dp;->f(Lcom/estrongs/android/taskmanager/dp;)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/ed;->a:Lcom/estrongs/android/taskmanager/dp;

    new-instance v1, Lcom/estrongs/android/taskmanager/ew;

    iget-object v2, p0, Lcom/estrongs/android/taskmanager/ed;->a:Lcom/estrongs/android/taskmanager/dp;

    invoke-direct {v1, v2, v3}, Lcom/estrongs/android/taskmanager/ew;-><init>(Lcom/estrongs/android/taskmanager/dp;Lcom/estrongs/android/taskmanager/ew;)V

    iput-object v1, v0, Lcom/estrongs/android/taskmanager/dp;->f:Lcom/estrongs/android/taskmanager/ew;

    goto :goto_0
.end method
